package com.example.springbootlean;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

@SpringBootApplication
/**
 * 启动类添加MapperScan注解。指定mapper扫描路径。指定后就不要在mapper层写@Mapper注解了
 */
//@MapperScan("com.example.springbootlean.mapper")
public class SpringbootLeanApplication {

    public static void main(String[] args) {
        SpringApplication.run(SpringbootLeanApplication.class, args);
    }

}
